package io.yizoo.business.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class biz_hrm_ei_basic {
    private String id;

    /**
     * 员工姓名
     */
    private String name;

    /**
     * 员工工号
     */
    private String emp_code;

    /**
     * 出生日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    /**
     * 民族
     */
    private String nation;

    /**
     * 女男
     */
    private String sex;

    /**
     * 身份证号
     */
    private String id_card;

    /**
     * 用工状态
     */
    private String work_status;

    /**
     * 家庭住址
     */
    private String home_address;

    /**
     * 婚姻状况
     */
    private String marital_status;

    /**
     * 联系电话（多个逗号隔开）
     */
    private String phone;

    /**
     * 政治面貌
     */
    private String politics_status;

    /**
     * 进入公司时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date enter_company_date;

    /**
     * 学历
     */
    private String education;

    /**
     * 备注
     */
    private String remark;

    /**
     * 参加工资日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date work_date;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getEmp_code() {
        return emp_code;
    }

    public void setEmp_code(String emp_code) {
        this.emp_code = emp_code == null ? null : emp_code.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation == null ? null : nation.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getId_card() {
        return id_card;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card == null ? null : id_card.trim();
    }

    public String getWork_status() {
        return work_status;
    }

    public void setWork_status(String work_status) {
        this.work_status = work_status == null ? null : work_status.trim();
    }

    public String getHome_address() {
        return home_address;
    }

    public void setHome_address(String home_address) {
        this.home_address = home_address == null ? null : home_address.trim();
    }

    public String getMarital_status() {
        return marital_status;
    }

    public void setMarital_status(String marital_status) {
        this.marital_status = marital_status == null ? null : marital_status.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getPolitics_status() {
        return politics_status;
    }

    public void setPolitics_status(String politics_status) {
        this.politics_status = politics_status == null ? null : politics_status.trim();
    }

    public Date getEnter_company_date() {
        return enter_company_date;
    }

    public void setEnter_company_date(Date enter_company_date) {
        this.enter_company_date = enter_company_date;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education == null ? null : education.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getWork_date() {
        return work_date;
    }

    public void setWork_date(Date work_date) {
        this.work_date = work_date;
    }
}